package com.lyl.serviceresume.controller;


import com.lyl.commonutils.R;
import com.lyl.serviceresume.service.ResumeTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-07-24
 */
@RestController
@RequestMapping("/serviceresume/type")
public class ResumeTypeController {

    @Autowired
    ResumeTypeService typeService;

    @GetMapping
    public   R getAll(){

      return R.ok().data("item",typeService.list(null));
    }


}

